package com.linkhub.oms.admin.modules.product.domain.vo;

import com.linkhub.oms.admin.modules.order.domain.vo.ManualOrderImportResultVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName ShopProductImportResultVO
 * @Description: com.linkhub.oms.admin.modules.order.domain.vo
 * @Author: Jaycle
 * @CreateDate: 2024/11/20 23:10
 * @Version: 1.0
 */
@Data
@ApiModel("商店商品导入结果对象")
public class ShopProductImportResultVO implements Serializable {
    @ApiModelProperty(value = "导入成功条数")
    private Integer successTotal;

    @ApiModelProperty(value = "导入失败条数")
    private Integer failTotal;

    @ApiModelProperty(value = "导入失败明细")
    private List<ShopProductImportResult> failList;

    @Data
    public static class ShopProductImportResult {
        @ApiModelProperty(value = "商店名称")
        private String shopName;

        @ApiModelProperty(value = "商品名称")
        private String productName;

        @ApiModelProperty(value = "SKU")
        private String sku;

        @ApiModelProperty(value = "失败信息")
        private String message;
    }
}
